#ifndef BATTLE_H_
#define BATTLE_H_
class battle
{
  private:
    
  public:
  int turnCounter;
  bool inBattle;
  
  battle(); //NEVER USE ME, IT WON'T WORK
  battle(character &player, vector<monster> &monsters); //USE ME
  int selectMonsterMenu(character &player, vector<monster> monsters);
  int selectAttackGemBattleMenu(character &player);
  int selectDefenseGemBattleMenu(character &player, int agem);
  char getBattleMenuInput(int n);
  char getAttackGemMenuInput(int n);
  char getDefenseGemMenuInput(int n, int agem);
  
  void playerAttack(character &player, vector<monster> &monsters, int selectedMonster, int selectedAGem);
  void monsterAttack(character &player, vector<monster> &monsters, int selectedDGem);
  void checkState(character &player, vector<monster> &monsters, bool &inBattle);
  
  void battleWin(character &player, vector<monster> &monsters);
  
  void checkGemBreak(int gemNum);
  int computeDamage(int attack, double resistFactor, int defense);
  void toBattleAnimation();
};


#endif
